3.13.90 \(\int \frac {A+B x}{\sqrt {\frac {A^2 e-B^2 e}{2 A B}+e x} (1+x^2)} \, dx\)

Optimal. Leaf size=133 \[ \frac {\sqrt {2} \sqrt {A} \sqrt {B} \tan ^{-1}\left (\frac {\sqrt {A} \sqrt {e \left (\frac {A}{B}-\frac {B}{A}+2 x\right )}}{\sqrt {B} \sqrt {e}}+\frac {A}{B}\right )}{\sqrt {e}}-\frac {\sqrt {2} \sqrt {A} \sqrt {B} \tan ^{-1}\left (\frac {A}{B}-\frac {\sqrt {A} \sqrt {e \left (\frac {A}{B}-\frac {B}{A}+2 x\right )}}{\sqrt {B} \sqrt {e}}\right )}{\sqrt {e}} \]

________________________________________________________________________________________

Rubi [A]  time = 0.43, antiderivative size = 133, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 4, integrand size = 43, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.093, Rules used = {827, 1161, 618, 204} \begin {gather*} \frac {\sqrt {2} \sqrt {A} \sqrt {B} \tan ^{-1}\left (\frac {\sqrt {A} \sqrt {e \left (\frac {A}{B}-\frac {B}{A}+2 x\right )}}{\sqrt {B} \sqrt {e}}+\frac {A}{B}\right )}{\sqrt {e}}-\frac {\sqrt {2} \sqrt {A} \sqrt {B} \tan ^{-1}\left (\frac {A}{B}-\frac {\sqrt {A} \sqrt {e \left (\frac {A}{B}-\frac {B}{A}+2 x\right )}}{\sqrt {B} \sqrt {e}}\right )}{\sqrt {e}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(A + B*x)/(Sqrt[(A^2*e - B^2*e)/(2*A*B) + e*x]*(1 + x^2)),x]

[Out]

-((Sqrt[2]*Sqrt[A]*Sqrt[B]*ArcTan[A/B - (Sqrt[A]*Sqrt[e*(A/B - B/A + 2*x)])/(Sqrt[B]*Sqrt[e])])/Sqrt[e]) + (Sq
rt[2]*Sqrt[A]*Sqrt[B]*ArcTan[A/B + (Sqrt[A]*Sqrt[e*(A/B - B/A + 2*x)])/(Sqrt[B]*Sqrt[e])])/Sqrt[e]

Rule 204

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> -Simp[ArcTan[(Rt[-b, 2]*x)/Rt[-a, 2]]/(Rt[-a, 2]*Rt[-b, 2]), x] /
; FreeQ[{a, b}, x] && PosQ[a/b] && (LtQ[a, 0] || LtQ[b, 0])

Rule 618

Int[((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(-1), x_Symbol] :> Dist[-2, Subst[Int[1/Simp[b^2 - 4*a*c - x^2, x], x]
, x, b + 2*c*x], x] /; FreeQ[{a, b, c}, x] && NeQ[b^2 - 4*a*c, 0]

Rule 827

Int[((f_.) + (g_.)*(x_))/(Sqrt[(d_.) + (e_.)*(x_)]*((a_) + (c_.)*(x_)^2)), x_Symbol] :> Dist[2, Subst[Int[(e*f
 - d*g + g*x^2)/(c*d^2 + a*e^2 - 2*c*d*x^2 + c*x^4), x], x, Sqrt[d + e*x]], x] /; FreeQ[{a, c, d, e, f, g}, x]
 && NeQ[c*d^2 + a*e^2, 0]

Rule 1161

Int[((d_) + (e_.)*(x_)^2)/((a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4), x_Symbol] :> With[{q = Rt[(2*d)/e - b/c, 2]},
Dist[e/(2*c), Int[1/Simp[d/e + q*x + x^2, x], x], x] + Dist[e/(2*c), Int[1/Simp[d/e - q*x + x^2, x], x], x]] /
; FreeQ[{a, b, c, d, e}, x] && NeQ[b^2 - 4*a*c, 0] && EqQ[c*d^2 - a*e^2, 0] && (GtQ[(2*d)/e - b/c, 0] || ( !Lt
Q[(2*d)/e - b/c, 0] && EqQ[d - e*Rt[a/c, 2], 0]))

Rubi steps

\begin {align*} \int \frac {A+B x}{\sqrt {\frac {A^2 e-B^2 e}{2 A B}+e x} \left (1+x^2\right )} \, dx &=2 \operatorname {Subst}\left (\int \frac {A e-\frac {A^2 e-B^2 e}{2 A}+B x^2}{e^2+\frac {\left (A^2 e-B^2 e\right )^2}{4 A^2 B^2}-\frac {\left (A^2 e-B^2 e\right ) x^2}{A B}+x^4} \, dx,x,\sqrt {\frac {A^2 e-B^2 e}{2 A B}+e x}\right )\\ &=B \operatorname {Subst}\left (\int \frac {1}{\frac {\left (A^2+B^2\right ) e}{2 A B}-\frac {\sqrt {2} \sqrt {A} \sqrt {e} x}{\sqrt {B}}+x^2} \, dx,x,\sqrt {\frac {A^2 e-B^2 e}{2 A B}+e x}\right )+B \operatorname {Subst}\left (\int \frac {1}{\frac {\left (A^2+B^2\right ) e}{2 A B}+\frac {\sqrt {2} \sqrt {A} \sqrt {e} x}{\sqrt {B}}+x^2} \, dx,x,\sqrt {\frac {A^2 e-B^2 e}{2 A B}+e x}\right )\\ &=-\left ((2 B) \operatorname {Subst}\left (\int \frac {1}{-\frac {2 B e}{A}-x^2} \, dx,x,\sqrt {2} \left (-\frac {\sqrt {A} \sqrt {e}}{\sqrt {B}}+\sqrt {e \left (\frac {A}{B}-\frac {B}{A}+2 x\right )}\right )\right )\right )-(2 B) \operatorname {Subst}\left (\int \frac {1}{-\frac {2 B e}{A}-x^2} \, dx,x,\frac {\sqrt {2} \sqrt {A} \sqrt {e}}{\sqrt {B}}+2 \sqrt {\frac {A^2 e-B^2 e}{2 A B}+e x}\right )\\ &=-\frac {\sqrt {2} \sqrt {A} \sqrt {B} \tan ^{-1}\left (\frac {\sqrt {A} \left (\frac {\sqrt {A} \sqrt {e}}{\sqrt {B}}-\sqrt {e \left (\frac {A}{B}-\frac {B}{A}+2 x\right )}\right )}{\sqrt {B} \sqrt {e}}\right )}{\sqrt {e}}+\frac {\sqrt {2} \sqrt {A} \sqrt {B} \tan ^{-1}\left (\frac {\sqrt {A} \left (\frac {\sqrt {A} \sqrt {e}}{\sqrt {B}}+\sqrt {\left (\frac {A}{B}-\frac {B}{A}\right ) e+2 e x}\right )}{\sqrt {B} \sqrt {e}}\right )}{\sqrt {e}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [C]  time = 0.18, size = 142, normalized size = 1.07 \begin {gather*} -\frac {i \sqrt {2} \sqrt {A} \sqrt {B} \sqrt {\frac {A}{B}-\frac {B}{A}+2 x} \left (\tanh ^{-1}\left (\frac {\sqrt {A} \sqrt {B} \sqrt {\frac {A}{B}-\frac {B}{A}+2 x}}{A-i B}\right )-\tanh ^{-1}\left (\frac {\sqrt {A} \sqrt {B} \sqrt {\frac {A}{B}-\frac {B}{A}+2 x}}{A+i B}\right )\right )}{\sqrt {e \left (\frac {A}{B}-\frac {B}{A}+2 x\right )}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(A + B*x)/(Sqrt[(A^2*e - B^2*e)/(2*A*B) + e*x]*(1 + x^2)),x]

[Out]

((-I)*Sqrt[2]*Sqrt[A]*Sqrt[B]*Sqrt[A/B - B/A + 2*x]*(ArcTanh[(Sqrt[A]*Sqrt[B]*Sqrt[A/B - B/A + 2*x])/(A - I*B)
] - ArcTanh[(Sqrt[A]*Sqrt[B]*Sqrt[A/B - B/A + 2*x])/(A + I*B)]))/Sqrt[e*(A/B - B/A + 2*x)]

________________________________________________________________________________________

IntegrateAlgebraic [C]  time = 0.35, size = 145, normalized size = 1.09 \begin {gather*} \frac {i \sqrt {2} \sqrt {A} \sqrt {B} \tanh ^{-1}\left (\frac {\sqrt {A} \sqrt {B} \sqrt {-\frac {B e}{A}+\frac {A e}{B}+2 e x}}{\sqrt {e} (A+i B)}\right )}{\sqrt {e}}-\frac {i \sqrt {2} \sqrt {A} \sqrt {B} \tanh ^{-1}\left (\frac {\sqrt {A} \sqrt {B} \sqrt {-\frac {B e}{A}+\frac {A e}{B}+2 e x}}{\sqrt {e} (A-i B)}\right )}{\sqrt {e}} \end {gather*}

Antiderivative was successfully verified.

[In]

IntegrateAlgebraic[(A + B*x)/(Sqrt[(A^2*e - B^2*e)/(2*A*B) + e*x]*(1 + x^2)),x]

[Out]

((-I)*Sqrt[2]*Sqrt[A]*Sqrt[B]*ArcTanh[(Sqrt[A]*Sqrt[B]*Sqrt[(A*e)/B - (B*e)/A + 2*e*x])/((A - I*B)*Sqrt[e])])/
Sqrt[e] + (I*Sqrt[2]*Sqrt[A]*Sqrt[B]*ArcTanh[(Sqrt[A]*Sqrt[B]*Sqrt[(A*e)/B - (B*e)/A + 2*e*x])/((A + I*B)*Sqrt
[e])])/Sqrt[e]

________________________________________________________________________________________

fricas [A]  time = 0.44, size = 164, normalized size = 1.23 \begin {gather*} \left [\frac {1}{2} \, \sqrt {2} \sqrt {-\frac {A B}{e}} \log \left (\frac {A^{2} x^{2} - 4 \, A B x - A^{2} + 2 \, B^{2} + 2 \, {\left (A x - B\right )} \sqrt {-\frac {A B}{e}} \sqrt {\frac {2 \, A B e x + {\left (A^{2} - B^{2}\right )} e}{A B}}}{x^{2} + 1}\right ), \sqrt {2} \sqrt {\frac {A B}{e}} \arctan \left (\frac {{\left (A x - B\right )} \sqrt {\frac {A B}{e}} \sqrt {\frac {2 \, A B e x + {\left (A^{2} - B^{2}\right )} e}{A B}}}{2 \, A B x + A^{2} - B^{2}}\right )\right ] \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(2*(B*x+A)/(x^2+1)/(2*(A^2*e-B^2*e)/A/B+4*e*x)^(1/2),x, algorithm="fricas")

[Out]

[1/2*sqrt(2)*sqrt(-A*B/e)*log((A^2*x^2 - 4*A*B*x - A^2 + 2*B^2 + 2*(A*x - B)*sqrt(-A*B/e)*sqrt((2*A*B*e*x + (A
^2 - B^2)*e)/(A*B)))/(x^2 + 1)), sqrt(2)*sqrt(A*B/e)*arctan((A*x - B)*sqrt(A*B/e)*sqrt((2*A*B*e*x + (A^2 - B^2
)*e)/(A*B))/(2*A*B*x + A^2 - B^2))]

________________________________________________________________________________________

giac [F(-2)]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: NotImplementedError} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(2*(B*x+A)/(x^2+1)/(2*(A^2*e-B^2*e)/A/B+4*e*x)^(1/2),x, algorithm="giac")

[Out]

Exception raised: NotImplementedError >> Unable to parse Giac output: Undef/Unsigned Inf encountered in limitU
ndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in
 limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encount
ered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf
encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsign
ed Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef
/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in lim
itUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered
 in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf enco
untered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned I
nf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Uns
igned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUn
def/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in
limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encounte
red in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf e
ncountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigne
d Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/
Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limi
tUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered
in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encou
ntered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned In
f encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsi
gned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUnd
ef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in l
imitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encounter
ed in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf en
countered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned
 Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/U
nsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limit
Undef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered i
n limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encoun
tered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf
 encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsig
ned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUnde
f/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in li
mitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountere
d in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf enc
ountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned
Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Un
signed Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitU
ndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in
 limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encount
ered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf
encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsign
ed Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef
/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in lim
itUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered
 in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf enco
untered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned I
nf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Uns
igned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUn
def/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in
limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encounte
red in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf e
ncountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigne
d Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/
Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limi
tUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered
in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encou
ntered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned In
f encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsi
gned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUnd
ef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in l
imitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encounter
ed in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf en
countered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned
 Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/U
nsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limit
Undef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered i
n limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encoun
tered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf
 encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsig
ned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUnde
f/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in li
mitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountere
d in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf enc
ountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned
Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Un
signed Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitU
ndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in
 limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encount
ered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf
encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsign
ed Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef
/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in lim
itUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered
 in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf enco
untered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned I
nf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Uns
igned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUn
def/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in
limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encounte
red in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf e
ncountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigne
d Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/
Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limi
tUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered
in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encou
ntered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned In
f encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsi
gned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUnd
ef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in l
imitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encounter
ed in limitUndef/Unsigned Inf encountered in limitUndef/Unsigned Inf encountered in limit2*((8*(A^2*B^8*exp(1)
^2-A^4*B^6*exp(1)^2-A^6*B^4*exp(1)^2+A^8*B^2*exp(1)^2)*sqrt(A^2*B^6*exp(1)^2+2*A^4*B^4*exp(1)^2+A^6*B^2*exp(1)
^2-A*B^3*abs(A*B^3*exp(1)+A^3*B*exp(1))*exp(1)+A^3*B*abs(A*B^3*exp(1)+A^3*B*exp(1))*exp(1))*(A^3*exp(1)*B+A*ex
p(1)*B^3)^2*im(sign(cos(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))+16*(-A^3*B^7*exp
(1)^2+A^7*B^3*exp(1)^2)*sqrt(A^2*B^6*exp(1)^2+2*A^4*B^4*exp(1)^2+A^6*B^2*exp(1)^2+A*B^3*abs(A*B^3*exp(1)+A^3*B
*exp(1))*exp(1)-A^3*B*abs(A*B^3*exp(1)+A^3*B*exp(1))*exp(1))*(A^3*exp(1)*B+A*exp(1)*B^3)^2*im(sign(sin(acos((A
^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))+16*(-A^3*B^7*exp(1)^2+A^7*B^3*exp(1)^2)*sqrt(A^
2*B^6*exp(1)^2+2*A^4*B^4*exp(1)^2+A^6*B^2*exp(1)^2-A*B^3*abs(A*B^3*exp(1)+A^3*B*exp(1))*exp(1)+A^3*B*abs(A*B^3
*exp(1)+A^3*B*exp(1))*exp(1))*(A^3*exp(1)*B+A*exp(1)*B^3)^2*re(sign(cos(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A
^3*exp(1)*B+A*exp(1)*B^3))/2)))+8*(A^2*B^8*exp(1)^2-A^4*B^6*exp(1)^2-A^6*B^4*exp(1)^2+A^8*B^2*exp(1)^2)*sqrt(A
^2*B^6*exp(1)^2+2*A^4*B^4*exp(1)^2+A^6*B^2*exp(1)^2+A*B^3*abs(A*B^3*exp(1)+A^3*B*exp(1))*exp(1)-A^3*B*abs(A*B^
3*exp(1)+A^3*B*exp(1))*exp(1))*(A^3*exp(1)*B+A*exp(1)*B^3)^2*re(sign(sin(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(
A^3*exp(1)*B+A*exp(1)*B^3))/2)))+8*(A^4*B^12*exp(1)^4-2*A^8*B^8*exp(1)^4+A^12*B^4*exp(1)^4)*sqrt(A^2*B^10*exp(
1)^2+A^4*B^8*exp(1)^2+A^8*B^4*exp(1)^2+A^10*B^2*exp(1)^2-A*B^7*abs(A*B^3*exp(1)+A^3*B*exp(1))*exp(1)+A^7*B*abs
(A*B^3*exp(1)+A^3*B*exp(1))*exp(1))*im(sign(cos(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3
))/2)))^3+48*(-A^6*B^12*exp(1)^4-A^8*B^10*exp(1)^4+A^10*B^8*exp(1)^4+A^12*B^6*exp(1)^4)*sqrt(A^2*B^6*exp(1)^2+
2*A^4*B^4*exp(1)^2+A^6*B^2*exp(1)^2-A*B^3*abs(A*B^3*exp(1)+A^3*B*exp(1))*exp(1)+A^3*B*abs(A*B^3*exp(1)+A^3*B*e
xp(1))*exp(1))*im(sign(cos(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))^2*im(sign(sin
(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))+48*(-A^5*B^11*exp(1)^4-A^7*B^9*exp(1)^4
+A^9*B^7*exp(1)^4+A^11*B^5*exp(1)^4)*sqrt(A^2*B^10*exp(1)^2+A^4*B^8*exp(1)^2+A^8*B^4*exp(1)^2+A^10*B^2*exp(1)^
2-A*B^7*abs(A*B^3*exp(1)+A^3*B*exp(1))*exp(1)+A^7*B*abs(A*B^3*exp(1)+A^3*B*exp(1))*exp(1))*im(sign(cos(acos((A
^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))^2*re(sign(cos(acos((A^3*B*exp(1)-A*B^3*exp(1))/
abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))+24*(A^5*B^13*exp(1)^4-2*A^9*B^9*exp(1)^4+A^13*B^5*exp(1)^4)*sqrt(A^2*B^6*
exp(1)^2+2*A^4*B^4*exp(1)^2+A^6*B^2*exp(1)^2-A*B^3*abs(A*B^3*exp(1)+A^3*B*exp(1))*exp(1)+A^3*B*abs(A*B^3*exp(1
)+A^3*B*exp(1))*exp(1))*im(sign(cos(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))^2*re
(sign(sin(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))+24*(A^5*B^13*exp(1)^4-2*A^9*B^
9*exp(1)^4+A^13*B^5*exp(1)^4)*sqrt(A^2*B^6*exp(1)^2+2*A^4*B^4*exp(1)^2+A^6*B^2*exp(1)^2+A*B^3*abs(A*B^3*exp(1)
+A^3*B*exp(1))*exp(1)-A^3*B*abs(A*B^3*exp(1)+A^3*B*exp(1))*exp(1))*im(sign(cos(acos((A^3*B*exp(1)-A*B^3*exp(1)
)/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))*im(sign(sin(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*
B^3))/2)))^2+48*(A^5*B^13*exp(1)^4-2*A^9*B^9*exp(1)^4+A^13*B^5*exp(1)^4)*sqrt(A^2*B^6*exp(1)^2+2*A^4*B^4*exp(1
)^2+A^6*B^2*exp(1)^2-A*B^3*abs(A*B^3*exp(1)+A^3*B*exp(1))*exp(1)+A^3*B*abs(A*B^3*exp(1)+A^3*B*exp(1))*exp(1))*
im(sign(cos(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))*im(sign(sin(acos((A^3*B*exp(
1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))*re(sign(cos(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp
(1)*B+A*exp(1)*B^3))/2)))+96*(-A^6*B^12*exp(1)^4-A^8*B^10*exp(1)^4+A^10*B^8*exp(1)^4+A^12*B^6*exp(1)^4)*sqrt(A
^2*B^6*exp(1)^2+2*A^4*B^4*exp(1)^2+A^6*B^2*exp(1)^2+A*B^3*abs(A*B^3*exp(1)+A^3*B*exp(1))*exp(1)-A^3*B*abs(A*B^
3*exp(1)+A^3*B*exp(1))*exp(1))*im(sign(cos(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)
))*im(sign(sin(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))*re(sign(sin(acos((A^3*B*e
xp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))+24*(A^4*B^12*exp(1)^4-2*A^8*B^8*exp(1)^4+A^12*B^4*exp
(1)^4)*sqrt(A^2*B^10*exp(1)^2+A^4*B^8*exp(1)^2+A^8*B^4*exp(1)^2+A^10*B^2*exp(1)^2-A*B^7*abs(A*B^3*exp(1)+A^3*B
*exp(1))*exp(1)+A^7*B*abs(A*B^3*exp(1)+A^3*B*exp(1))*exp(1))*im(sign(cos(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(
A^3*exp(1)*B+A*exp(1)*B^3))/2)))*re(sign(cos(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/
2)))^2+96*(-A^6*B^12*exp(1)^4-A^8*B^10*exp(1)^4+A^10*B^8*exp(1)^4+A^12*B^6*exp(1)^4)*sqrt(A^2*B^6*exp(1)^2+2*A
^4*B^4*exp(1)^2+A^6*B^2*exp(1)^2-A*B^3*abs(A*B^3*exp(1)+A^3*B*exp(1))*exp(1)+A^3*B*abs(A*B^3*exp(1)+A^3*B*exp(
1))*exp(1))*im(sign(cos(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))*re(sign(cos(acos
((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))*re(sign(sin(acos((A^3*B*exp(1)-A*B^3*exp(1))
/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))+24*(A^5*B^13*exp(1)^4-2*A^9*B^9*exp(1)^4+A^13*B^5*exp(1)^4)*sqrt(A^2*B^6
*exp(1)^2+2*A^4*B^4*exp(1)^2+A^6*B^2*exp(1)^2+A*B^3*abs(A*B^3*exp(1)+A^3*B*exp(1))*exp(1)-A^3*B*abs(A*B^3*exp(
1)+A^3*B*exp(1))*exp(1))*im(sign(cos(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))*re(
sign(sin(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))^2+16*(-A^5*B^11*exp(1)^4-A^7*B^
9*exp(1)^4+A^9*B^7*exp(1)^4+A^11*B^5*exp(1)^4)*sqrt(A^2*B^10*exp(1)^2+A^4*B^8*exp(1)^2+A^8*B^4*exp(1)^2+A^10*B
^2*exp(1)^2+A*B^7*abs(A*B^3*exp(1)+A^3*B*exp(1))*exp(1)-A^7*B*abs(A*B^3*exp(1)+A^3*B*exp(1))*exp(1))*im(sign(s
in(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))^3+48*(-A^6*B^12*exp(1)^4-A^8*B^10*exp
(1)^4+A^10*B^8*exp(1)^4+A^12*B^6*exp(1)^4)*sqrt(A^2*B^6*exp(1)^2+2*A^4*B^4*exp(1)^2+A^6*B^2*exp(1)^2+A*B^3*abs
(A*B^3*exp(1)+A^3*B*exp(1))*exp(1)-A^3*B*abs(A*B^3*exp(1)+A^3*B*exp(1))*exp(1))*im(sign(sin(acos((A^3*B*exp(1)
-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))^2*re(sign(cos(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp
(1)*B+A*exp(1)*B^3))/2)))+24*(A^4*B^12*exp(1)^4-2*A^8*B^8*exp(1)^4+A^12*B^4*exp(1)^4)*sqrt(A^2*B^10*exp(1)^2+A
^4*B^8*exp(1)^2+A^8*B^4*exp(1)^2+A^10*B^2*exp(1)^2+A*B^7*abs(A*B^3*exp(1)+A^3*B*exp(1))*exp(1)-A^7*B*abs(A*B^3
*exp(1)+A^3*B*exp(1))*exp(1))*im(sign(sin(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2))
)^2*re(sign(sin(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))+48*(-A^6*B^12*exp(1)^4-A
^8*B^10*exp(1)^4+A^10*B^8*exp(1)^4+A^12*B^6*exp(1)^4)*sqrt(A^2*B^6*exp(1)^2+2*A^4*B^4*exp(1)^2+A^6*B^2*exp(1)^
2-A*B^3*abs(A*B^3*exp(1)+A^3*B*exp(1))*exp(1)+A^3*B*abs(A*B^3*exp(1)+A^3*B*exp(1))*exp(1))*im(sign(sin(acos((A
^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))*re(sign(cos(acos((A^3*B*exp(1)-A*B^3*exp(1))/ab
s(A^3*exp(1)*B+A*exp(1)*B^3))/2)))^2+48*(A^5*B^13*exp(1)^4-2*A^9*B^9*exp(1)^4+A^13*B^5*exp(1)^4)*sqrt(A^2*B^6*
exp(1)^2+2*A^4*B^4*exp(1)^2+A^6*B^2*exp(1)^2+A*B^3*abs(A*B^3*exp(1)+A^3*B*exp(1))*exp(1)-A^3*B*abs(A*B^3*exp(1
)+A^3*B*exp(1))*exp(1))*im(sign(sin(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))*re(s
ign(cos(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))*re(sign(sin(acos((A^3*B*exp(1)-A
*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))+48*(-A^5*B^11*exp(1)^4-A^7*B^9*exp(1)^4+A^9*B^7*exp(1)^4+A^1
1*B^5*exp(1)^4)*sqrt(A^2*B^10*exp(1)^2+A^4*B^8*exp(1)^2+A^8*B^4*exp(1)^2+A^10*B^2*exp(1)^2+A*B^7*abs(A*B^3*exp
(1)+A^3*B*exp(1))*exp(1)-A^7*B*abs(A*B^3*exp(1)+A^3*B*exp(1))*exp(1))*im(sign(sin(acos((A^3*B*exp(1)-A*B^3*exp
(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))*re(sign(sin(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(
1)*B^3))/2)))^2+16*(-A^5*B^11*exp(1)^4-A^7*B^9*exp(1)^4+A^9*B^7*exp(1)^4+A^11*B^5*exp(1)^4)*sqrt(A^2*B^10*exp(
1)^2+A^4*B^8*exp(1)^2+A^8*B^4*exp(1)^2+A^10*B^2*exp(1)^2-A*B^7*abs(A*B^3*exp(1)+A^3*B*exp(1))*exp(1)+A^7*B*abs
(A*B^3*exp(1)+A^3*B*exp(1))*exp(1))*re(sign(cos(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3
))/2)))^3+24*(A^5*B^13*exp(1)^4-2*A^9*B^9*exp(1)^4+A^13*B^5*exp(1)^4)*sqrt(A^2*B^6*exp(1)^2+2*A^4*B^4*exp(1)^2
+A^6*B^2*exp(1)^2-A*B^3*abs(A*B^3*exp(1)+A^3*B*exp(1))*exp(1)+A^3*B*abs(A*B^3*exp(1)+A^3*B*exp(1))*exp(1))*re(
sign(cos(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))^2*re(sign(sin(acos((A^3*B*exp(1
)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))+48*(-A^6*B^12*exp(1)^4-A^8*B^10*exp(1)^4+A^10*B^8*exp(1)^
4+A^12*B^6*exp(1)^4)*sqrt(A^2*B^6*exp(1)^2+2*A^4*B^4*exp(1)^2+A^6*B^2*exp(1)^2+A*B^3*abs(A*B^3*exp(1)+A^3*B*ex
p(1))*exp(1)-A^3*B*abs(A*B^3*exp(1)+A^3*B*exp(1))*exp(1))*re(sign(cos(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3
*exp(1)*B+A*exp(1)*B^3))/2)))*re(sign(sin(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2))
)^2+8*(A^4*B^12*exp(1)^4-2*A^8*B^8*exp(1)^4+A^12*B^4*exp(1)^4)*sqrt(A^2*B^10*exp(1)^2+A^4*B^8*exp(1)^2+A^8*B^4
*exp(1)^2+A^10*B^2*exp(1)^2+A*B^7*abs(A*B^3*exp(1)+A^3*B*exp(1))*exp(1)-A^7*B*abs(A*B^3*exp(1)+A^3*B*exp(1))*e
xp(1))*re(sign(sin(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))^3)/(-64*A^3*exp(1)+64
*A*B^2*exp(1))/sqrt(-A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*B*exp(1)+A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)/
(A^3*exp(1)*B+A*exp(1)*B^3)^2*ln((A^2*exp(1)+2*A*B*x*exp(1)-B^2*exp(1))/A/B-2*((A^4*exp(1)^2+2*A^2*B^2*exp(1)^
2+B^4*exp(1)^2)/A^2/B^2)^(1/4)*sqrt((1+(A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)*sign(cos
(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2))*sqrt((A^2*exp(1)+2*A*B*x*exp(1)-B^2*exp(
1))/A/B)+((A^4*exp(1)^2+2*A^2*B^2*exp(1)^2+B^4*exp(1)^2)/A^2/B^2)^(1/4)*((A^4*exp(1)^2+2*A^2*B^2*exp(1)^2+B^4*
exp(1)^2)/A^2/B^2)^(1/4))+(16*(A^4*B^8*exp(1)^3-A^8*B^4*exp(1)^3)*sqrt(-A^4*abs(A*B^3*exp(1)+A^3*B*exp(1))+B^4
*abs(A*B^3*exp(1)+A^3*B*exp(1))-A*B^7*exp(1)-3*A^3*B^5*exp(1)-3*A^5*B^3*exp(1)-A^7*B*exp(1))*(A^3*exp(1)*B+A*e
xp(1)*B^3)^2*im(sign(cos(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))+8*(A^3*B^9*exp(
1)^3-A^5*B^7*exp(1)^3-A^7*B^5*exp(1)^3+A^9*B^3*exp(1)^3)*sqrt(A^4*abs(A*B^3*exp(1)+A^3*B*exp(1))-B^4*abs(A*B^3
*exp(1)+A^3*B*exp(1))-A*B^7*exp(1)-3*A^3*B^5*exp(1)-3*A^5*B^3*exp(1)-A^7*B*exp(1))*(A^3*exp(1)*B+A*exp(1)*B^3)
^2*im(sign(sin(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))+8*(A^3*B^9*exp(1)^3-A^5*B
^7*exp(1)^3-A^7*B^5*exp(1)^3+A^9*B^3*exp(1)^3)*sqrt(-A^4*abs(A*B^3*exp(1)+A^3*B*exp(1))+B^4*abs(A*B^3*exp(1)+A
^3*B*exp(1))-A*B^7*exp(1)-3*A^3*B^5*exp(1)-3*A^5*B^3*exp(1)-A^7*B*exp(1))*(A^3*exp(1)*B+A*exp(1)*B^3)^2*re(sig
n(cos(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))+16*(A^4*B^8*exp(1)^3-A^8*B^4*exp(1
)^3)*sqrt(A^4*abs(A*B^3*exp(1)+A^3*B*exp(1))-B^4*abs(A*B^3*exp(1)+A^3*B*exp(1))-A*B^7*exp(1)-3*A^3*B^5*exp(1)-
3*A^5*B^3*exp(1)-A^7*B*exp(1))*(A^3*exp(1)*B+A*exp(1)*B^3)^2*re(sign(sin(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(
A^3*exp(1)*B+A*exp(1)*B^3))/2)))+16*(-A^6*B^12*exp(1)^5-A^8*B^10*exp(1)^5+A^10*B^8*exp(1)^5+A^12*B^6*exp(1)^5)
*sqrt(-A^8*abs(A*B^3*exp(1)+A^3*B*exp(1))+B^8*abs(A*B^3*exp(1)+A^3*B*exp(1))-A*B^11*exp(1)+A^2*B^6*abs(A*B^3*e
xp(1)+A^3*B*exp(1))-2*A^3*B^9*exp(1)-A^5*B^7*exp(1)-A^6*B^2*abs(A*B^3*exp(1)+A^3*B*exp(1))-A^7*B^5*exp(1)-2*A^
9*B^3*exp(1)-A^11*B*exp(1))*im(sign(cos(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))^
3+24*(A^6*B^14*exp(1)^5-2*A^10*B^10*exp(1)^5+A^14*B^6*exp(1)^5)*sqrt(-A^4*abs(A*B^3*exp(1)+A^3*B*exp(1))+B^4*a
bs(A*B^3*exp(1)+A^3*B*exp(1))-A*B^7*exp(1)-3*A^3*B^5*exp(1)-3*A^5*B^3*exp(1)-A^7*B*exp(1))*im(sign(cos(acos((A
^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))^2*im(sign(sin(acos((A^3*B*exp(1)-A*B^3*exp(1))/
abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))+24*(A^5*B^13*exp(1)^5-2*A^9*B^9*exp(1)^5+A^13*B^5*exp(1)^5)*sqrt(-A^8*abs
(A*B^3*exp(1)+A^3*B*exp(1))+B^8*abs(A*B^3*exp(1)+A^3*B*exp(1))-A*B^11*exp(1)+A^2*B^6*abs(A*B^3*exp(1)+A^3*B*ex
p(1))-2*A^3*B^9*exp(1)-A^5*B^7*exp(1)-A^6*B^2*abs(A*B^3*exp(1)+A^3*B*exp(1))-A^7*B^5*exp(1)-2*A^9*B^3*exp(1)-A
^11*B*exp(1))*im(sign(cos(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))^2*re(sign(cos(
acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))+48*(-A^7*B^13*exp(1)^5-A^9*B^11*exp(1)^5
+A^11*B^9*exp(1)^5+A^13*B^7*exp(1)^5)*sqrt(-A^4*abs(A*B^3*exp(1)+A^3*B*exp(1))+B^4*abs(A*B^3*exp(1)+A^3*B*exp(
1))-A*B^7*exp(1)-3*A^3*B^5*exp(1)-3*A^5*B^3*exp(1)-A^7*B*exp(1))*im(sign(cos(acos((A^3*B*exp(1)-A*B^3*exp(1))/
abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))^2*re(sign(sin(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*
B^3))/2)))+48*(-A^7*B^13*exp(1)^5-A^9*B^11*exp(1)^5+A^11*B^9*exp(1)^5+A^13*B^7*exp(1)^5)*sqrt(A^4*abs(A*B^3*ex
p(1)+A^3*B*exp(1))-B^4*abs(A*B^3*exp(1)+A^3*B*exp(1))-A*B^7*exp(1)-3*A^3*B^5*exp(1)-3*A^5*B^3*exp(1)-A^7*B*exp
(1))*im(sign(cos(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))*im(sign(sin(acos((A^3*B
*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))^2+96*(-A^7*B^13*exp(1)^5-A^9*B^11*exp(1)^5+A^11*B^9
*exp(1)^5+A^13*B^7*exp(1)^5)*sqrt(-A^4*abs(A*B^3*exp(1)+A^3*B*exp(1))+B^4*abs(A*B^3*exp(1)+A^3*B*exp(1))-A*B^7
*exp(1)-3*A^3*B^5*exp(1)-3*A^5*B^3*exp(1)-A^7*B*exp(1))*im(sign(cos(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*e
xp(1)*B+A*exp(1)*B^3))/2)))*im(sign(sin(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))*
re(sign(cos(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))+48*(A^6*B^14*exp(1)^5-2*A^10
*B^10*exp(1)^5+A^14*B^6*exp(1)^5)*sqrt(A^4*abs(A*B^3*exp(1)+A^3*B*exp(1))-B^4*abs(A*B^3*exp(1)+A^3*B*exp(1))-A
*B^7*exp(1)-3*A^3*B^5*exp(1)-3*A^5*B^3*exp(1)-A^7*B*exp(1))*im(sign(cos(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A
^3*exp(1)*B+A*exp(1)*B^3))/2)))*im(sign(sin(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2
)))*re(sign(sin(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))+48*(-A^6*B^12*exp(1)^5-A
^8*B^10*exp(1)^5+A^10*B^8*exp(1)^5+A^12*B^6*exp(1)^5)*sqrt(-A^8*abs(A*B^3*exp(1)+A^3*B*exp(1))+B^8*abs(A*B^3*e
xp(1)+A^3*B*exp(1))-A*B^11*exp(1)+A^2*B^6*abs(A*B^3*exp(1)+A^3*B*exp(1))-2*A^3*B^9*exp(1)-A^5*B^7*exp(1)-A^6*B
^2*abs(A*B^3*exp(1)+A^3*B*exp(1))-A^7*B^5*exp(1)-2*A^9*B^3*exp(1)-A^11*B*exp(1))*im(sign(cos(acos((A^3*B*exp(1
)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))*re(sign(cos(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(
1)*B+A*exp(1)*B^3))/2)))^2+48*(A^6*B^14*exp(1)^5-2*A^10*B^10*exp(1)^5+A^14*B^6*exp(1)^5)*sqrt(-A^4*abs(A*B^3*e
xp(1)+A^3*B*exp(1))+B^4*abs(A*B^3*exp(1)+A^3*B*exp(1))-A*B^7*exp(1)-3*A^3*B^5*exp(1)-3*A^5*B^3*exp(1)-A^7*B*ex
p(1))*im(sign(cos(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))*re(sign(cos(acos((A^3*
B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))*re(sign(sin(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A
^3*exp(1)*B+A*exp(1)*B^3))/2)))+48*(-A^7*B^13*exp(1)^5-A^9*B^11*exp(1)^5+A^11*B^9*exp(1)^5+A^13*B^7*exp(1)^5)*
sqrt(A^4*abs(A*B^3*exp(1)+A^3*B*exp(1))-B^4*abs(A*B^3*exp(1)+A^3*B*exp(1))-A*B^7*exp(1)-3*A^3*B^5*exp(1)-3*A^5
*B^3*exp(1)-A^7*B*exp(1))*im(sign(cos(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))*re
(sign(sin(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))^2+8*(A^5*B^13*exp(1)^5-2*A^9*B
^9*exp(1)^5+A^13*B^5*exp(1)^5)*sqrt(A^8*abs(A*B^3*exp(1)+A^3*B*exp(1))-B^8*abs(A*B^3*exp(1)+A^3*B*exp(1))-A*B^
11*exp(1)-A^2*B^6*abs(A*B^3*exp(1)+A^3*B*exp(1))-2*A^3*B^9*exp(1)-A^5*B^7*exp(1)+A^6*B^2*abs(A*B^3*exp(1)+A^3*
B*exp(1))-A^7*B^5*exp(1)-2*A^9*B^3*exp(1)-A^11*B*exp(1))*im(sign(sin(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*
exp(1)*B+A*exp(1)*B^3))/2)))^3+24*(A^6*B^14*exp(1)^5-2*A^10*B^10*exp(1)^5+A^14*B^6*exp(1)^5)*sqrt(A^4*abs(A*B^
3*exp(1)+A^3*B*exp(1))-B^4*abs(A*B^3*exp(1)+A^3*B*exp(1))-A*B^7*exp(1)-3*A^3*B^5*exp(1)-3*A^5*B^3*exp(1)-A^7*B
*exp(1))*im(sign(sin(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))^2*re(sign(cos(acos(
(A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))+48*(-A^6*B^12*exp(1)^5-A^8*B^10*exp(1)^5+A^10
*B^8*exp(1)^5+A^12*B^6*exp(1)^5)*sqrt(A^8*abs(A*B^3*exp(1)+A^3*B*exp(1))-B^8*abs(A*B^3*exp(1)+A^3*B*exp(1))-A*
B^11*exp(1)-A^2*B^6*abs(A*B^3*exp(1)+A^3*B*exp(1))-2*A^3*B^9*exp(1)-A^5*B^7*exp(1)+A^6*B^2*abs(A*B^3*exp(1)+A^
3*B*exp(1))-A^7*B^5*exp(1)-2*A^9*B^3*exp(1)-A^11*B*exp(1))*im(sign(sin(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^
3*exp(1)*B+A*exp(1)*B^3))/2)))^2*re(sign(sin(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/
2)))+24*(A^6*B^14*exp(1)^5-2*A^10*B^10*exp(1)^5+A^14*B^6*exp(1)^5)*sqrt(-A^4*abs(A*B^3*exp(1)+A^3*B*exp(1))+B^
4*abs(A*B^3*exp(1)+A^3*B*exp(1))-A*B^7*exp(1)-3*A^3*B^5*exp(1)-3*A^5*B^3*exp(1)-A^7*B*exp(1))*im(sign(sin(acos
((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))*re(sign(cos(acos((A^3*B*exp(1)-A*B^3*exp(1))
/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))^2+96*(-A^7*B^13*exp(1)^5-A^9*B^11*exp(1)^5+A^11*B^9*exp(1)^5+A^13*B^7*ex
p(1)^5)*sqrt(A^4*abs(A*B^3*exp(1)+A^3*B*exp(1))-B^4*abs(A*B^3*exp(1)+A^3*B*exp(1))-A*B^7*exp(1)-3*A^3*B^5*exp(
1)-3*A^5*B^3*exp(1)-A^7*B*exp(1))*im(sign(sin(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))
/2)))*re(sign(cos(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))*re(sign(sin(acos((A^3*
B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))+24*(A^5*B^13*exp(1)^5-2*A^9*B^9*exp(1)^5+A^13*B^5*
exp(1)^5)*sqrt(A^8*abs(A*B^3*exp(1)+A^3*B*exp(1))-B^8*abs(A*B^3*exp(1)+A^3*B*exp(1))-A*B^11*exp(1)-A^2*B^6*abs
(A*B^3*exp(1)+A^3*B*exp(1))-2*A^3*B^9*exp(1)-A^5*B^7*exp(1)+A^6*B^2*abs(A*B^3*exp(1)+A^3*B*exp(1))-A^7*B^5*exp
(1)-2*A^9*B^3*exp(1)-A^11*B*exp(1))*im(sign(sin(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3
))/2)))*re(sign(sin(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))^2+8*(A^5*B^13*exp(1)
^5-2*A^9*B^9*exp(1)^5+A^13*B^5*exp(1)^5)*sqrt(-A^8*abs(A*B^3*exp(1)+A^3*B*exp(1))+B^8*abs(A*B^3*exp(1)+A^3*B*e
xp(1))-A*B^11*exp(1)+A^2*B^6*abs(A*B^3*exp(1)+A^3*B*exp(1))-2*A^3*B^9*exp(1)-A^5*B^7*exp(1)-A^6*B^2*abs(A*B^3*
exp(1)+A^3*B*exp(1))-A^7*B^5*exp(1)-2*A^9*B^3*exp(1)-A^11*B*exp(1))*re(sign(cos(acos((A^3*B*exp(1)-A*B^3*exp(1
))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))^3+48*(-A^7*B^13*exp(1)^5-A^9*B^11*exp(1)^5+A^11*B^9*exp(1)^5+A^13*B^7*
exp(1)^5)*sqrt(-A^4*abs(A*B^3*exp(1)+A^3*B*exp(1))+B^4*abs(A*B^3*exp(1)+A^3*B*exp(1))-A*B^7*exp(1)-3*A^3*B^5*e
xp(1)-3*A^5*B^3*exp(1)-A^7*B*exp(1))*re(sign(cos(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^
3))/2)))^2*re(sign(sin(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))+24*(A^6*B^14*exp(
1)^5-2*A^10*B^10*exp(1)^5+A^14*B^6*exp(1)^5)*sqrt(A^4*abs(A*B^3*exp(1)+A^3*B*exp(1))-B^4*abs(A*B^3*exp(1)+A^3*
B*exp(1))-A*B^7*exp(1)-3*A^3*B^5*exp(1)-3*A^5*B^3*exp(1)-A^7*B*exp(1))*re(sign(cos(acos((A^3*B*exp(1)-A*B^3*ex
p(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))*re(sign(sin(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp
(1)*B^3))/2)))^2+16*(-A^6*B^12*exp(1)^5-A^8*B^10*exp(1)^5+A^10*B^8*exp(1)^5+A^12*B^6*exp(1)^5)*sqrt(A^8*abs(A*
B^3*exp(1)+A^3*B*exp(1))-B^8*abs(A*B^3*exp(1)+A^3*B*exp(1))-A*B^11*exp(1)-A^2*B^6*abs(A*B^3*exp(1)+A^3*B*exp(1
))-2*A^3*B^9*exp(1)-A^5*B^7*exp(1)+A^6*B^2*abs(A*B^3*exp(1)+A^3*B*exp(1))-A^7*B^5*exp(1)-2*A^9*B^3*exp(1)-A^11
*B*exp(1))*re(sign(sin(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)))^3)/(32*A^6*B*exp(
1)^2-32*A^2*B^5*exp(1)^2)/abs(A^3*B*exp(1)+A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)/(A^3*exp(1)*B+A*exp(1)
*B^3)^2*atan((sqrt((A^2*exp(1)+2*A*B*x*exp(1)-B^2*exp(1))/A/B)-sign(cos(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A
^3*exp(1)*B+A*exp(1)*B^3))/2))*sqrt((1+(A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)*((A^4*ex
p(1)^2+2*A^2*B^2*exp(1)^2+B^4*exp(1)^2)/A^2/B^2)^(1/4))/sign(sin(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(
1)*B+A*exp(1)*B^3))/2))/sqrt((1-(A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)/((A^4*exp(1)^2+
2*A^2*B^2*exp(1)^2+B^4*exp(1)^2)/A^2/B^2)^(1/4))+(-2*A*B*sqrt(-A^3*B*exp(1)-A*B^3*exp(1))*cos(re(acos((A^3*B*e
xp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)^3*cosh(im(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp
(1)*B+A*exp(1)*B^3)))/2)^3+6*A*B*sqrt(-A^3*B*exp(1)-A*B^3*exp(1))*cos(re(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(
A^3*exp(1)*B+A*exp(1)*B^3)))/2)^3*cosh(im(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)
^2*sinh(im(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)-6*A*B*sqrt(-A^3*B*exp(1)-A*B^3
*exp(1))*cos(re(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)^3*cosh(im(acos((A^3*B*exp
(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)*sinh(im(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*
B+A*exp(1)*B^3)))/2)^2+2*A*B*sqrt(-A^3*B*exp(1)-A*B^3*exp(1))*cos(re(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*
exp(1)*B+A*exp(1)*B^3)))/2)^3*sinh(im(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)^3+(
3*A^2-3*B^2)*sqrt(-A^3*B*exp(1)-A*B^3*exp(1))*cos(re(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1
)*B^3)))/2)^2*cosh(im(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)^3*sin(re(acos((A^3*
B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)+(-9*A^2+9*B^2)*sqrt(-A^3*B*exp(1)-A*B^3*exp(1))*cos
(re(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)^2*cosh(im(acos((A^3*B*exp(1)-A*B^3*ex
p(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)^2*sin(re(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*
B^3)))/2)*sinh(im(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)+(9*A^2-9*B^2)*sqrt(-A^3
*B*exp(1)-A*B^3*exp(1))*cos(re(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)^2*cosh(im(
acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)*sin(re(acos((A^3*B*exp(1)-A*B^3*exp(1))/a
bs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)*sinh(im(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2
)^2+(-3*A^2+3*B^2)*sqrt(-A^3*B*exp(1)-A*B^3*exp(1))*cos(re(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A
*exp(1)*B^3)))/2)^2*sin(re(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)*sinh(im(acos((
A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)^3+6*A*B*sqrt(-A^3*B*exp(1)-A*B^3*exp(1))*cos(re
(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)*cosh(im(acos((A^3*B*exp(1)-A*B^3*exp(1))
/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)^3*sin(re(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))
)/2)^2-18*A*B*sqrt(-A^3*B*exp(1)-A*B^3*exp(1))*cos(re(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(
1)*B^3)))/2)*cosh(im(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)^2*sin(re(acos((A^3*B
*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)^2*sinh(im(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*e
xp(1)*B+A*exp(1)*B^3)))/2)+18*A*B*sqrt(-A^3*B*exp(1)-A*B^3*exp(1))*cos(re(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs
(A^3*exp(1)*B+A*exp(1)*B^3)))/2)*cosh(im(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)*
sin(re(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)^2*sinh(im(acos((A^3*B*exp(1)-A*B^3
*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)^2+2*A*B*sqrt(-A^3*B*exp(1)-A*B^3*exp(1))*cos(re(acos((A^3*B*exp(1
)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)*cosh(im(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+
A*exp(1)*B^3)))/2)-6*A*B*sqrt(-A^3*B*exp(1)-A*B^3*exp(1))*cos(re(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(
1)*B+A*exp(1)*B^3)))/2)*sin(re(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)^2*sinh(im(
acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)^3-2*A*B*sqrt(-A^3*B*exp(1)-A*B^3*exp(1))*
cos(re(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)*sinh(im(acos((A^3*B*exp(1)-A*B^3*e
xp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)+(-A^2+B^2)*sqrt(-A^3*B*exp(1)-A*B^3*exp(1))*cosh(im(acos((A^3*B*exp
(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)^3*sin(re(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)
*B+A*exp(1)*B^3)))/2)^3+(3*A^2-3*B^2)*sqrt(-A^3*B*exp(1)-A*B^3*exp(1))*cosh(im(acos((A^3*B*exp(1)-A*B^3*exp(1)
)/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)^2*sin(re(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)
))/2)^3*sinh(im(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)+(-3*A^2+3*B^2)*sqrt(-A^3*
B*exp(1)-A*B^3*exp(1))*cosh(im(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)*sin(re(aco
s((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)^3*sinh(im(acos((A^3*B*exp(1)-A*B^3*exp(1))/a
bs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)^2+(-A^2+B^2)*sqrt(-A^3*B*exp(1)-A*B^3*exp(1))*cosh(im(acos((A^3*B*exp(1)-A*
B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)*sin(re(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp
(1)*B^3)))/2)+(A^2-B^2)*sqrt(-A^3*B*exp(1)-A*B^3*exp(1))*sin(re(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1
)*B+A*exp(1)*B^3)))/2)^3*sinh(im(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)^3+(A^2-B
^2)*sqrt(-A^3*B*exp(1)-A*B^3*exp(1))*sin(re(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/
2)*sinh(im(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2))/(4*sqrt(2)*A^3*exp(1)+4*sqrt(
2)*A*B^2*exp(1))*ln((A^2*exp(1)+2*A*B*x*exp(1)-B^2*exp(1))/A/B+2*((A^4*exp(1)^2+2*A^2*B^2*exp(1)^2+B^4*exp(1)^
2)/A^2/B^2)^(1/4)*cos(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)*sqrt((A^2*exp(1)+2*A
*B*x*exp(1)-B^2*exp(1))/A/B)+((A^4*exp(1)^2+2*A^2*B^2*exp(1)^2+B^4*exp(1)^2)/A^2/B^2)^(1/4)*((A^4*exp(1)^2+2*A
^2*B^2*exp(1)^2+B^4*exp(1)^2)/A^2/B^2)^(1/4))-((A^2-B^2)*sqrt(-A^3*B*exp(1)-A*B^3*exp(1))*cos(re(acos((A^3*B*e
xp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)^3*cosh(im(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp
(1)*B+A*exp(1)*B^3)))/2)^3+(-3*A^2+3*B^2)*sqrt(-A^3*B*exp(1)-A*B^3*exp(1))*cos(re(acos((A^3*B*exp(1)-A*B^3*exp
(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)^3*cosh(im(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*
B^3)))/2)^2*sinh(im(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)+(3*A^2-3*B^2)*sqrt(-A
^3*B*exp(1)-A*B^3*exp(1))*cos(re(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)^3*cosh(i
m(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)*sinh(im(acos((A^3*B*exp(1)-A*B^3*exp(1)
)/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)^2+(-A^2+B^2)*sqrt(-A^3*B*exp(1)-A*B^3*exp(1))*cos(re(acos((A^3*B*exp(1)-
A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)^3*sinh(im(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+
A*exp(1)*B^3)))/2)^3+6*A*B*sqrt(-A^3*B*exp(1)-A*B^3*exp(1))*cos(re(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*ex
p(1)*B+A*exp(1)*B^3)))/2)^2*cosh(im(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)^3*sin
(re(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)-18*A*B*sqrt(-A^3*B*exp(1)-A*B^3*exp(1
))*cos(re(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)^2*cosh(im(acos((A^3*B*exp(1)-A*
B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)^2*sin(re(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*e
xp(1)*B^3)))/2)*sinh(im(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)+18*A*B*sqrt(-A^3*
B*exp(1)-A*B^3*exp(1))*cos(re(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)^2*cosh(im(a
cos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)*sin(re(acos((A^3*B*exp(1)-A*B^3*exp(1))/ab
s(A^3*exp(1)*B+A*exp(1)*B^3)))/2)*sinh(im(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)
^2-6*A*B*sqrt(-A^3*B*exp(1)-A*B^3*exp(1))*cos(re(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^
3)))/2)^2*sin(re(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)*sinh(im(acos((A^3*B*exp(
1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)^3+(-3*A^2+3*B^2)*sqrt(-A^3*B*exp(1)-A*B^3*exp(1))*cos(re(
acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)*cosh(im(acos((A^3*B*exp(1)-A*B^3*exp(1))/
abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)^3*sin(re(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))
/2)^2+(9*A^2-9*B^2)*sqrt(-A^3*B*exp(1)-A*B^3*exp(1))*cos(re(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+
A*exp(1)*B^3)))/2)*cosh(im(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)^2*sin(re(acos(
(A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)^2*sinh(im(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs
(A^3*exp(1)*B+A*exp(1)*B^3)))/2)+(-9*A^2+9*B^2)*sqrt(-A^3*B*exp(1)-A*B^3*exp(1))*cos(re(acos((A^3*B*exp(1)-A*B
^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)*cosh(im(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp
(1)*B^3)))/2)*sin(re(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)^2*sinh(im(acos((A^3*
B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)^2+(-A^2+B^2)*sqrt(-A^3*B*exp(1)-A*B^3*exp(1))*cos(r
e(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)*cosh(im(acos((A^3*B*exp(1)-A*B^3*exp(1)
)/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)+(3*A^2-3*B^2)*sqrt(-A^3*B*exp(1)-A*B^3*exp(1))*cos(re(acos((A^3*B*exp(1)
-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)*sin(re(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*
exp(1)*B^3)))/2)^2*sinh(im(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)^3+(A^2-B^2)*sq
rt(-A^3*B*exp(1)-A*B^3*exp(1))*cos(re(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)*sin
h(im(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)-2*A*B*sqrt(-A^3*B*exp(1)-A*B^3*exp(1
))*cosh(im(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)^3*sin(re(acos((A^3*B*exp(1)-A*
B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)^3+6*A*B*sqrt(-A^3*B*exp(1)-A*B^3*exp(1))*cosh(im(acos((A^3*B*e
xp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)^2*sin(re(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(
1)*B+A*exp(1)*B^3)))/2)^3*sinh(im(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)-6*A*B*s
qrt(-A^3*B*exp(1)-A*B^3*exp(1))*cosh(im(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)*s
in(re(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)^3*sinh(im(acos((A^3*B*exp(1)-A*B^3*
exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)^2-2*A*B*sqrt(-A^3*B*exp(1)-A*B^3*exp(1))*cosh(im(acos((A^3*B*exp(1
)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)*sin(re(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A
*exp(1)*B^3)))/2)+2*A*B*sqrt(-A^3*B*exp(1)-A*B^3*exp(1))*sin(re(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1
)*B+A*exp(1)*B^3)))/2)^3*sinh(im(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)^3+2*A*B*
sqrt(-A^3*B*exp(1)-A*B^3*exp(1))*sin(re(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2)*s
inh(im(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3)))/2))/(2*sqrt(2)*A^3*exp(1)+2*sqrt(2)*A
*B^2*exp(1))*atan((sqrt((A^2*exp(1)+2*A*B*x*exp(1)-B^2*exp(1))/A/B)+cos(acos((A^3*B*exp(1)-A*B^3*exp(1))/abs(A
^3*exp(1)*B+A*exp(1)*B^3))/2)*((A^4*exp(1)^2+2*A^2*B^2*exp(1)^2+B^4*exp(1)^2)/A^2/B^2)^(1/4))/sin(acos((A^3*B*
exp(1)-A*B^3*exp(1))/abs(A^3*exp(1)*B+A*exp(1)*B^3))/2)/((A^4*exp(1)^2+2*A^2*B^2*exp(1)^2+B^4*exp(1)^2)/A^2/B^
2)^(1/4)))

________________________________________________________________________________________

maple [A]  time = 0.33, size = 128, normalized size = 0.96 \begin {gather*} \frac {\sqrt {2}\, A B \arctan \left (\frac {2 \sqrt {2 e x +\frac {\left (A^{2}-B^{2}\right ) e}{A B}}\, A B -2 \sqrt {A^{3} B e}}{2 \sqrt {A B e}\, B}\right )}{\sqrt {A B e}}+\frac {\sqrt {2}\, A B \arctan \left (\frac {2 \sqrt {2 e x +\frac {\left (A^{2}-B^{2}\right ) e}{A B}}\, A B +2 \sqrt {A^{3} B e}}{2 \sqrt {A B e}\, B}\right )}{\sqrt {A B e}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(2*(B*x+A)/(x^2+1)/(2*(A^2*e-B^2*e)/A/B+4*e*x)^(1/2),x)

[Out]

2^(1/2)*A*B/(A*B*e)^(1/2)*arctan(1/2*(2*(2*e*x+e*(A^2-B^2)/A/B)^(1/2)*A*B+2*(A^3*B*e)^(1/2))/B/(A*B*e)^(1/2))+
2^(1/2)*A*B/(A*B*e)^(1/2)*arctan(1/2*(2*(2*e*x+e*(A^2-B^2)/A/B)^(1/2)*A*B-2*(A^3*B*e)^(1/2))/B/(A*B*e)^(1/2))

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} 2 \, \int \frac {B x + A}{\sqrt {4 \, e x + \frac {2 \, {\left (A^{2} e - B^{2} e\right )}}{A B}} {\left (x^{2} + 1\right )}}\,{d x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(2*(B*x+A)/(x^2+1)/(2*(A^2*e-B^2*e)/A/B+4*e*x)^(1/2),x, algorithm="maxima")

[Out]

2*integrate((B*x + A)/(sqrt(4*e*x + 2*(A^2*e - B^2*e)/(A*B))*(x^2 + 1)), x)

________________________________________________________________________________________

mupad [B]  time = 0.22, size = 206, normalized size = 1.55 \begin {gather*} \frac {\sqrt {2}\,\sqrt {A}\,\sqrt {B}\,\left (\mathrm {atan}\left (\frac {A^{3/2}\,{\left (4\,e\,x+\frac {2\,A^2\,e-2\,B^2\,e}{A\,B}\right )}^{3/2}\,\sqrt {2\,B}}{8\,e^{3/2}\,\left (A^2+B^2\right )}-\frac {A^{5/2}\,\sqrt {8\,e\,x+\frac {2\,\left (2\,A^2\,e-2\,B^2\,e\right )}{A\,B}}}{4\,\sqrt {B}\,\sqrt {e}\,\left (A^2+B^2\right )}+\frac {3\,\sqrt {2}\,\sqrt {A}\,B^{3/2}\,\sqrt {4\,e\,x+\frac {2\,A^2\,e-2\,B^2\,e}{A\,B}}}{4\,\sqrt {e}\,\left (A^2+B^2\right )}\right )+\mathrm {atan}\left (\frac {\sqrt {2}\,\sqrt {A}\,\sqrt {4\,e\,x+\frac {2\,A^2\,e-2\,B^2\,e}{A\,B}}}{4\,\sqrt {B}\,\sqrt {e}}\right )\right )}{\sqrt {e}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((2*A + 2*B*x)/((x^2 + 1)*(4*e*x + (2*A^2*e - 2*B^2*e)/(A*B))^(1/2)),x)

[Out]

(2^(1/2)*A^(1/2)*B^(1/2)*(atan((A^(3/2)*(4*e*x + (2*A^2*e - 2*B^2*e)/(A*B))^(3/2)*(2*B)^(1/2))/(8*e^(3/2)*(A^2
 + B^2)) - (A^(5/2)*(8*e*x + (2*(2*A^2*e - 2*B^2*e))/(A*B))^(1/2))/(4*B^(1/2)*e^(1/2)*(A^2 + B^2)) + (3*2^(1/2
)*A^(1/2)*B^(3/2)*(4*e*x + (2*A^2*e - 2*B^2*e)/(A*B))^(1/2))/(4*e^(1/2)*(A^2 + B^2))) + atan((2^(1/2)*A^(1/2)*
(4*e*x + (2*A^2*e - 2*B^2*e)/(A*B))^(1/2))/(4*B^(1/2)*e^(1/2)))))/e^(1/2)

________________________________________________________________________________________

sympy [F(-1)]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(2*(B*x+A)/(x**2+1)/(2*(A**2*e-B**2*e)/A/B+4*e*x)**(1/2),x)

[Out]

Timed out

________________________________________________________________________________________